package com.jk.service;

import com.jk.service.impl.TestServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "SPRINGCLOUD-SERVER",fallback = TestServiceImpl.class)
public interface TestService {
    @RequestMapping("test/test")
    Object testOpenFenign(@RequestParam String name);

}
